3.7.28 \(\int \frac {1}{x^4 (1-x^3)^{2/3} (1+x^3)} \, dx\) [628]

3.7.28.1 Optimal result
3.7.28.2 Mathematica [A] (verified)
3.7.28.3 Rubi [A] (verified)
3.7.28.4 Maple [A] (verified)
3.7.28.5 Fricas [A] (verification not implemented)
3.7.28.6 Sympy [F]
3.7.28.7 Maxima [F]
3.7.28.8 Giac [A] (verification not implemented)
3.7.28.9 Mupad [B] (verification not implemented)

3.7.28.1 Optimal result

Integrand size = 22, antiderivative size = 158 \[ \int \frac {1}{x^4 \left (1-x^3\right )^{2/3} \left (1+x^3\right )} \, dx=-\frac {\sqrt [3]{1-x^3}}{3 x^3}+\frac {\arctan \left (\frac {1+2 \sqrt [3]{1-x^3}}{\sqrt {3}}\right )}{3 \sqrt {3}}-\frac {\arctan \left (\frac {1+2^{2/3} \sqrt [3]{1-x^3}}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3}}+\frac {\log (x)}{6}-\frac {\log \left (1+x^3\right )}{6\ 2^{2/3}}-\frac {1}{6} \log \left (1-\sqrt [3]{1-x^3}\right )+\frac {\log \left (\sqrt [3]{2}-\sqrt [3]{1-x^3}\right )}{2\ 2^{2/3}} \]

output
-1/3*(-x^3+1)^(1/3)/x^3+1/6*ln(x)-1/12*ln(x^3+1)*2^(1/3)-1/6*ln(1-(-x^3+1) 
^(1/3))+1/4*ln(2^(1/3)-(-x^3+1)^(1/3))*2^(1/3)+1/9*arctan(1/3*(1+2*(-x^3+1 
)^(1/3))*3^(1/2))*3^(1/2)-1/6*arctan(1/3*(1+2^(2/3)*(-x^3+1)^(1/3))*3^(1/2 
))*2^(1/3)*3^(1/2)
 
3.7.28.2 Mathematica [A] (verified)

Time = 0.33 (sec) , antiderivative size = 202, normalized size of antiderivative = 1.28 \[ \int \frac {1}{x^4 \left (1-x^3\right )^{2/3} \left (1+x^3\right )} \, dx=\frac {1}{36} \left (-\frac {12 \sqrt [3]{1-x^3}}{x^3}+4 \sqrt {3} \arctan \left (\frac {1+2 \sqrt [3]{1-x^3}}{\sqrt {3}}\right )-6 \sqrt [3]{2} \sqrt {3} \arctan \left (\frac {1+2^{2/3} \sqrt [3]{1-x^3}}{\sqrt {3}}\right )-4 \log \left (-1+\sqrt [3]{1-x^3}\right )+6 \sqrt [3]{2} \log \left (-2+2^{2/3} \sqrt [3]{1-x^3}\right )+2 \log \left (1+\sqrt [3]{1-x^3}+\left (1-x^3\right )^{2/3}\right )-3 \sqrt [3]{2} \log \left (2+2^{2/3} \sqrt [3]{1-x^3}+\sqrt [3]{2} \left (1-x^3\right )^{2/3}\right )\right ) \]

input
Integrate[1/(x^4*(1 - x^3)^(2/3)*(1 + x^3)),x]
 
output
((-12*(1 - x^3)^(1/3))/x^3 + 4*Sqrt[3]*ArcTan[(1 + 2*(1 - x^3)^(1/3))/Sqrt 
[3]] - 6*2^(1/3)*Sqrt[3]*ArcTan[(1 + 2^(2/3)*(1 - x^3)^(1/3))/Sqrt[3]] - 4 
*Log[-1 + (1 - x^3)^(1/3)] + 6*2^(1/3)*Log[-2 + 2^(2/3)*(1 - x^3)^(1/3)] + 
 2*Log[1 + (1 - x^3)^(1/3) + (1 - x^3)^(2/3)] - 3*2^(1/3)*Log[2 + 2^(2/3)* 
(1 - x^3)^(1/3) + 2^(1/3)*(1 - x^3)^(2/3)])/36
 
3.7.28.3 Rubi [A] (verified)

Time = 0.31 (sec) , antiderivative size = 167, normalized size of antiderivative = 1.06, number of steps used = 11, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.455, Rules used = {948, 114, 27, 174, 69, 16, 1082, 217, 1083, 217}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {1}{x^4 \left (1-x^3\right )^{2/3} \left (x^3+1\right )} \, dx\)

\(\Big \downarrow \) 948

\(\displaystyle \frac {1}{3} \int \frac {1}{x^6 \left (1-x^3\right )^{2/3} \left (x^3+1\right )}dx^3\)

\(\Big \downarrow \) 114

\(\displaystyle \frac {1}{3} \left (-\int \frac {1-2 x^3}{3 x^3 \left (1-x^3\right )^{2/3} \left (x^3+1\right )}dx^3-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {1}{3} \left (-\frac {1}{3} \int \frac {1-2 x^3}{x^3 \left (1-x^3\right )^{2/3} \left (x^3+1\right )}dx^3-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

\(\Big \downarrow \) 174

\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (3 \int \frac {1}{\left (1-x^3\right )^{2/3} \left (x^3+1\right )}dx^3-\int \frac {1}{x^3 \left (1-x^3\right )^{2/3}}dx^3\right )-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

\(\Big \downarrow \) 69

\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {3}{2} \int \frac {1}{1-\sqrt [3]{1-x^3}}d\sqrt [3]{1-x^3}+\frac {3}{2} \int \frac {1}{x^6+\sqrt [3]{1-x^3}+1}d\sqrt [3]{1-x^3}+3 \left (-\frac {3 \int \frac {1}{\sqrt [3]{2}-\sqrt [3]{1-x^3}}d\sqrt [3]{1-x^3}}{2\ 2^{2/3}}-\frac {3 \int \frac {1}{x^6+\sqrt [3]{2} \sqrt [3]{1-x^3}+2^{2/3}}d\sqrt [3]{1-x^3}}{2 \sqrt [3]{2}}-\frac {\log \left (x^3+1\right )}{2\ 2^{2/3}}\right )+\frac {\log \left (x^3\right )}{2}\right )-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

\(\Big \downarrow \) 16

\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {3}{2} \int \frac {1}{x^6+\sqrt [3]{1-x^3}+1}d\sqrt [3]{1-x^3}+3 \left (-\frac {3 \int \frac {1}{x^6+\sqrt [3]{2} \sqrt [3]{1-x^3}+2^{2/3}}d\sqrt [3]{1-x^3}}{2 \sqrt [3]{2}}-\frac {\log \left (x^3+1\right )}{2\ 2^{2/3}}+\frac {3 \log \left (\sqrt [3]{2}-\sqrt [3]{1-x^3}\right )}{2\ 2^{2/3}}\right )+\frac {\log \left (x^3\right )}{2}-\frac {3}{2} \log \left (1-\sqrt [3]{1-x^3}\right )\right )-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

\(\Big \downarrow \) 1082

\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {3}{2} \int \frac {1}{x^6+\sqrt [3]{1-x^3}+1}d\sqrt [3]{1-x^3}+3 \left (\frac {3 \int \frac {1}{-x^6-3}d\left (2^{2/3} \sqrt [3]{1-x^3}+1\right )}{2^{2/3}}-\frac {\log \left (x^3+1\right )}{2\ 2^{2/3}}+\frac {3 \log \left (\sqrt [3]{2}-\sqrt [3]{1-x^3}\right )}{2\ 2^{2/3}}\right )+\frac {\log \left (x^3\right )}{2}-\frac {3}{2} \log \left (1-\sqrt [3]{1-x^3}\right )\right )-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

\(\Big \downarrow \) 217

\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {3}{2} \int \frac {1}{x^6+\sqrt [3]{1-x^3}+1}d\sqrt [3]{1-x^3}+3 \left (-\frac {\sqrt {3} \arctan \left (\frac {2^{2/3} \sqrt [3]{1-x^3}+1}{\sqrt {3}}\right )}{2^{2/3}}-\frac {\log \left (x^3+1\right )}{2\ 2^{2/3}}+\frac {3 \log \left (\sqrt [3]{2}-\sqrt [3]{1-x^3}\right )}{2\ 2^{2/3}}\right )+\frac {\log \left (x^3\right )}{2}-\frac {3}{2} \log \left (1-\sqrt [3]{1-x^3}\right )\right )-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

\(\Big \downarrow \) 1083

\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (-3 \int \frac {1}{-x^6-3}d\left (2 \sqrt [3]{1-x^3}+1\right )+3 \left (-\frac {\sqrt {3} \arctan \left (\frac {2^{2/3} \sqrt [3]{1-x^3}+1}{\sqrt {3}}\right )}{2^{2/3}}-\frac {\log \left (x^3+1\right )}{2\ 2^{2/3}}+\frac {3 \log \left (\sqrt [3]{2}-\sqrt [3]{1-x^3}\right )}{2\ 2^{2/3}}\right )+\frac {\log \left (x^3\right )}{2}-\frac {3}{2} \log \left (1-\sqrt [3]{1-x^3}\right )\right )-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

\(\Big \downarrow \) 217

\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\sqrt {3} \arctan \left (\frac {2 \sqrt [3]{1-x^3}+1}{\sqrt {3}}\right )+3 \left (-\frac {\sqrt {3} \arctan \left (\frac {2^{2/3} \sqrt [3]{1-x^3}+1}{\sqrt {3}}\right )}{2^{2/3}}-\frac {\log \left (x^3+1\right )}{2\ 2^{2/3}}+\frac {3 \log \left (\sqrt [3]{2}-\sqrt [3]{1-x^3}\right )}{2\ 2^{2/3}}\right )+\frac {\log \left (x^3\right )}{2}-\frac {3}{2} \log \left (1-\sqrt [3]{1-x^3}\right )\right )-\frac {\sqrt [3]{1-x^3}}{x^3}\right )\)

input
Int[1/(x^4*(1 - x^3)^(2/3)*(1 + x^3)),x]
 
output
(-((1 - x^3)^(1/3)/x^3) + (Sqrt[3]*ArcTan[(1 + 2*(1 - x^3)^(1/3))/Sqrt[3]] 
 + Log[x^3]/2 - (3*Log[1 - (1 - x^3)^(1/3)])/2 + 3*(-((Sqrt[3]*ArcTan[(1 + 
 2^(2/3)*(1 - x^3)^(1/3))/Sqrt[3]])/2^(2/3)) - Log[1 + x^3]/(2*2^(2/3)) + 
(3*Log[2^(1/3) - (1 - x^3)^(1/3)])/(2*2^(2/3))))/3)/3
 

3.7.28.3.1 Defintions of rubi rules used

rule 16
Int[(c_.)/((a_.) + (b_.)*(x_)), x_Symbol] :> Simp[c*(Log[RemoveContent[a + 
b*x, x]]/b), x] /; FreeQ[{a, b, c}, x]
 

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
 

rule 69
Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(2/3)), x_Symbol] :> With[ 
{q = Rt[(b*c - a*d)/b, 3]}, Simp[-Log[RemoveContent[a + b*x, x]]/(2*b*q^2), 
 x] + (-Simp[3/(2*b*q)   Subst[Int[1/(q^2 + q*x + x^2), x], x, (c + d*x)^(1 
/3)], x] - Simp[3/(2*b*q^2)   Subst[Int[1/(q - x), x], x, (c + d*x)^(1/3)], 
 x])] /; FreeQ[{a, b, c, d}, x] && PosQ[(b*c - a*d)/b]
 

rule 114
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_) 
)^(p_), x_] :> Simp[b*(a + b*x)^(m + 1)*(c + d*x)^(n + 1)*((e + f*x)^(p + 1 
)/((m + 1)*(b*c - a*d)*(b*e - a*f))), x] + Simp[1/((m + 1)*(b*c - a*d)*(b*e 
 - a*f))   Int[(a + b*x)^(m + 1)*(c + d*x)^n*(e + f*x)^p*Simp[a*d*f*(m + 1) 
 - b*(d*e*(m + n + 2) + c*f*(m + p + 2)) - b*d*f*(m + n + p + 3)*x, x], x], 
 x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && ILtQ[m, -1] && (IntegerQ[n] || 
 IntegersQ[2*n, 2*p] || ILtQ[m + n + p + 3, 0])
 

rule 174
Int[(((e_.) + (f_.)*(x_))^(p_)*((g_.) + (h_.)*(x_)))/(((a_.) + (b_.)*(x_))* 
((c_.) + (d_.)*(x_))), x_] :> Simp[(b*g - a*h)/(b*c - a*d)   Int[(e + f*x)^ 
p/(a + b*x), x], x] - Simp[(d*g - c*h)/(b*c - a*d)   Int[(e + f*x)^p/(c + d 
*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, h}, x]
 

rule 217
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^( 
-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] & 
& (LtQ[a, 0] || LtQ[b, 0])
 

rule 948
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_. 
), x_Symbol] :> Simp[1/n   Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^ 
p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] && NeQ 
[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]
 

rule 1082
Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*S 
implify[a*(c/b^2)]}, Simp[-2/b   Subst[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b 
)], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /; Fre 
eQ[{a, b, c}, x]
 

rule 1083
Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Simp[-2   Subst[I 
nt[1/Simp[b^2 - 4*a*c - x^2, x], x], x, b + 2*c*x], x] /; FreeQ[{a, b, c}, 
x]
 
3.7.28.4 Maple [A] (verified)

Time = 7.28 (sec) , antiderivative size = 211, normalized size of antiderivative = 1.34

method result size
pseudoelliptic \(\frac {6 \,2^{\frac {1}{3}} \sqrt {3}\, \arctan \left (\frac {\left (1+2^{\frac {2}{3}} \left (-x^{3}+1\right )^{\frac {1}{3}}\right ) \sqrt {3}}{3}\right ) x^{3}-6 \,2^{\frac {1}{3}} \ln \left (\left (-x^{3}+1\right )^{\frac {1}{3}}-2^{\frac {1}{3}}\right ) x^{3}+3 \,2^{\frac {1}{3}} \ln \left (\left (-x^{3}+1\right )^{\frac {2}{3}}+2^{\frac {1}{3}} \left (-x^{3}+1\right )^{\frac {1}{3}}+2^{\frac {2}{3}}\right ) x^{3}-4 \sqrt {3}\, \arctan \left (\frac {\left (1+2 \left (-x^{3}+1\right )^{\frac {1}{3}}\right ) \sqrt {3}}{3}\right ) x^{3}-2 \ln \left (\left (-x^{3}+1\right )^{\frac {2}{3}}+\left (-x^{3}+1\right )^{\frac {1}{3}}+1\right ) x^{3}+4 \ln \left (-1+\left (-x^{3}+1\right )^{\frac {1}{3}}\right ) x^{3}+12 \left (-x^{3}+1\right )^{\frac {1}{3}}}{36 \left (\left (-x^{3}+1\right )^{\frac {2}{3}}+\left (-x^{3}+1\right )^{\frac {1}{3}}+1\right ) \left (-1+\left (-x^{3}+1\right )^{\frac {1}{3}}\right )}\) \(211\)

input
int(1/x^4/(-x^3+1)^(2/3)/(x^3+1),x,method=_RETURNVERBOSE)
 
output
1/36*(6*2^(1/3)*3^(1/2)*arctan(1/3*(1+2^(2/3)*(-x^3+1)^(1/3))*3^(1/2))*x^3 
-6*2^(1/3)*ln((-x^3+1)^(1/3)-2^(1/3))*x^3+3*2^(1/3)*ln((-x^3+1)^(2/3)+2^(1 
/3)*(-x^3+1)^(1/3)+2^(2/3))*x^3-4*3^(1/2)*arctan(1/3*(1+2*(-x^3+1)^(1/3))* 
3^(1/2))*x^3-2*ln((-x^3+1)^(2/3)+(-x^3+1)^(1/3)+1)*x^3+4*ln(-1+(-x^3+1)^(1 
/3))*x^3+12*(-x^3+1)^(1/3))/((-x^3+1)^(2/3)+(-x^3+1)^(1/3)+1)/(-1+(-x^3+1) 
^(1/3))
 
3.7.28.5 Fricas [A] (verification not implemented)

Time = 0.28 (sec) , antiderivative size = 195, normalized size of antiderivative = 1.23 \[ \int \frac {1}{x^4 \left (1-x^3\right )^{2/3} \left (1+x^3\right )} \, dx=-\frac {12 \cdot 4^{\frac {1}{6}} \sqrt {3} x^{3} \arctan \left (\frac {1}{6} \cdot 4^{\frac {1}{6}} {\left (4^{\frac {2}{3}} \sqrt {3} {\left (-x^{3} + 1\right )}^{\frac {1}{3}} + 4^{\frac {1}{3}} \sqrt {3}\right )}\right ) + 3 \cdot 4^{\frac {2}{3}} x^{3} \log \left (4^{\frac {2}{3}} {\left (-x^{3} + 1\right )}^{\frac {1}{3}} + 2 \, {\left (-x^{3} + 1\right )}^{\frac {2}{3}} + 2 \cdot 4^{\frac {1}{3}}\right ) - 6 \cdot 4^{\frac {2}{3}} x^{3} \log \left (-4^{\frac {2}{3}} + 2 \, {\left (-x^{3} + 1\right )}^{\frac {1}{3}}\right ) - 8 \, \sqrt {3} x^{3} \arctan \left (\frac {2}{3} \, \sqrt {3} {\left (-x^{3} + 1\right )}^{\frac {1}{3}} + \frac {1}{3} \, \sqrt {3}\right ) - 4 \, x^{3} \log \left ({\left (-x^{3} + 1\right )}^{\frac {2}{3}} + {\left (-x^{3} + 1\right )}^{\frac {1}{3}} + 1\right ) + 8 \, x^{3} \log \left ({\left (-x^{3} + 1\right )}^{\frac {1}{3}} - 1\right ) + 24 \, {\left (-x^{3} + 1\right )}^{\frac {1}{3}}}{72 \, x^{3}} \]

input
integrate(1/x^4/(-x^3+1)^(2/3)/(x^3+1),x, algorithm="fricas")
 
output
-1/72*(12*4^(1/6)*sqrt(3)*x^3*arctan(1/6*4^(1/6)*(4^(2/3)*sqrt(3)*(-x^3 + 
1)^(1/3) + 4^(1/3)*sqrt(3))) + 3*4^(2/3)*x^3*log(4^(2/3)*(-x^3 + 1)^(1/3) 
+ 2*(-x^3 + 1)^(2/3) + 2*4^(1/3)) - 6*4^(2/3)*x^3*log(-4^(2/3) + 2*(-x^3 + 
 1)^(1/3)) - 8*sqrt(3)*x^3*arctan(2/3*sqrt(3)*(-x^3 + 1)^(1/3) + 1/3*sqrt( 
3)) - 4*x^3*log((-x^3 + 1)^(2/3) + (-x^3 + 1)^(1/3) + 1) + 8*x^3*log((-x^3 
 + 1)^(1/3) - 1) + 24*(-x^3 + 1)^(1/3))/x^3
 
3.7.28.6 Sympy [F]

\[ \int \frac {1}{x^4 \left (1-x^3\right )^{2/3} \left (1+x^3\right )} \, dx=\int \frac {1}{x^{4} \left (- \left (x - 1\right ) \left (x^{2} + x + 1\right )\right )^{\frac {2}{3}} \left (x + 1\right ) \left (x^{2} - x + 1\right )}\, dx \]

input
integrate(1/x**4/(-x**3+1)**(2/3)/(x**3+1),x)
 
output
Integral(1/(x**4*(-(x - 1)*(x**2 + x + 1))**(2/3)*(x + 1)*(x**2 - x + 1)), 
 x)
 
3.7.28.7 Maxima [F]

\[ \int \frac {1}{x^4 \left (1-x^3\right )^{2/3} \left (1+x^3\right )} \, dx=\int { \frac {1}{{\left (x^{3} + 1\right )} {\left (-x^{3} + 1\right )}^{\frac {2}{3}} x^{4}} \,d x } \]

input
integrate(1/x^4/(-x^3+1)^(2/3)/(x^3+1),x, algorithm="maxima")
 
output
integrate(1/((x^3 + 1)*(-x^3 + 1)^(2/3)*x^4), x)
 
3.7.28.8 Giac [A] (verification not implemented)

Time = 0.36 (sec) , antiderivative size = 163, normalized size of antiderivative = 1.03 \[ \int \frac {1}{x^4 \left (1-x^3\right )^{2/3} \left (1+x^3\right )} \, dx=-\frac {1}{6} \, \sqrt {3} 2^{\frac {1}{3}} \arctan \left (\frac {1}{6} \, \sqrt {3} 2^{\frac {2}{3}} {\left (2^{\frac {1}{3}} + 2 \, {\left (-x^{3} + 1\right )}^{\frac {1}{3}}\right )}\right ) + \frac {1}{9} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, {\left (-x^{3} + 1\right )}^{\frac {1}{3}} + 1\right )}\right ) - \frac {1}{12} \cdot 2^{\frac {1}{3}} \log \left (2^{\frac {2}{3}} + 2^{\frac {1}{3}} {\left (-x^{3} + 1\right )}^{\frac {1}{3}} + {\left (-x^{3} + 1\right )}^{\frac {2}{3}}\right ) + \frac {1}{6} \cdot 2^{\frac {1}{3}} \log \left ({\left | -2^{\frac {1}{3}} + {\left (-x^{3} + 1\right )}^{\frac {1}{3}} \right |}\right ) - \frac {{\left (-x^{3} + 1\right )}^{\frac {1}{3}}}{3 \, x^{3}} + \frac {1}{18} \, \log \left ({\left (-x^{3} + 1\right )}^{\frac {2}{3}} + {\left (-x^{3} + 1\right )}^{\frac {1}{3}} + 1\right ) - \frac {1}{9} \, \log \left ({\left | {\left (-x^{3} + 1\right )}^{\frac {1}{3}} - 1 \right |}\right ) \]

input
integrate(1/x^4/(-x^3+1)^(2/3)/(x^3+1),x, algorithm="giac")
 
output
-1/6*sqrt(3)*2^(1/3)*arctan(1/6*sqrt(3)*2^(2/3)*(2^(1/3) + 2*(-x^3 + 1)^(1 
/3))) + 1/9*sqrt(3)*arctan(1/3*sqrt(3)*(2*(-x^3 + 1)^(1/3) + 1)) - 1/12*2^ 
(1/3)*log(2^(2/3) + 2^(1/3)*(-x^3 + 1)^(1/3) + (-x^3 + 1)^(2/3)) + 1/6*2^( 
1/3)*log(abs(-2^(1/3) + (-x^3 + 1)^(1/3))) - 1/3*(-x^3 + 1)^(1/3)/x^3 + 1/ 
18*log((-x^3 + 1)^(2/3) + (-x^3 + 1)^(1/3) + 1) - 1/9*log(abs((-x^3 + 1)^( 
1/3) - 1))
 
3.7.28.9 Mupad [B] (verification not implemented)

Time = 8.56 (sec) , antiderivative size = 368, normalized size of antiderivative = 2.33 \[ \int \frac {1}{x^4 \left (1-x^3\right )^{2/3} \left (1+x^3\right )} \, dx=\frac {2^{1/3}\,\ln \left (\frac {10\,{\left (1-x^3\right )}^{1/3}}{9}-\frac {2^{1/3}\,\left (\frac {2^{2/3}\,\left (243\,2^{1/3}+27\,{\left (1-x^3\right )}^{1/3}\right )}{36}-\frac {25}{3}\right )}{6}\right )}{6}-\frac {{\left (1-x^3\right )}^{1/3}}{3\,x^3}-\frac {\ln \left (\frac {31\,{\left (1-x^3\right )}^{1/3}}{243}-\frac {31}{243}\right )}{9}-\ln \left (\left (-\frac {1}{18}+\frac {\sqrt {3}\,1{}\mathrm {i}}{18}\right )\,\left ({\left (-\frac {1}{18}+\frac {\sqrt {3}\,1{}\mathrm {i}}{18}\right )}^2\,\left (27\,{\left (1-x^3\right )}^{1/3}+81-\sqrt {3}\,81{}\mathrm {i}\right )-\frac {25}{3}\right )+\frac {10\,{\left (1-x^3\right )}^{1/3}}{9}\right )\,\left (-\frac {1}{18}+\frac {\sqrt {3}\,1{}\mathrm {i}}{18}\right )+\ln \left (\frac {10\,{\left (1-x^3\right )}^{1/3}}{9}-\left (\frac {1}{18}+\frac {\sqrt {3}\,1{}\mathrm {i}}{18}\right )\,\left ({\left (\frac {1}{18}+\frac {\sqrt {3}\,1{}\mathrm {i}}{18}\right )}^2\,\left (27\,{\left (1-x^3\right )}^{1/3}+81+\sqrt {3}\,81{}\mathrm {i}\right )-\frac {25}{3}\right )\right )\,\left (\frac {1}{18}+\frac {\sqrt {3}\,1{}\mathrm {i}}{18}\right )+\frac {2^{1/3}\,\ln \left (\frac {10\,{\left (1-x^3\right )}^{1/3}}{9}-\frac {2^{1/3}\,\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )\,\left (\frac {2^{2/3}\,{\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )}^2\,\left (\frac {243\,2^{1/3}\,\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )}{2}+27\,{\left (1-x^3\right )}^{1/3}\right )}{144}-\frac {25}{3}\right )}{12}\right )\,\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )}{12}-\frac {2^{1/3}\,\ln \left (\frac {10\,{\left (1-x^3\right )}^{1/3}}{9}-\frac {2^{1/3}\,\left (1+\sqrt {3}\,1{}\mathrm {i}\right )\,\left (\frac {2^{2/3}\,{\left (1+\sqrt {3}\,1{}\mathrm {i}\right )}^2\,\left (\frac {243\,2^{1/3}\,\left (1+\sqrt {3}\,1{}\mathrm {i}\right )}{2}-27\,{\left (1-x^3\right )}^{1/3}\right )}{144}+\frac {25}{3}\right )}{12}\right )\,\left (1+\sqrt {3}\,1{}\mathrm {i}\right )}{12} \]

input
int(1/(x^4*(1 - x^3)^(2/3)*(x^3 + 1)),x)
 
output
(2^(1/3)*log((10*(1 - x^3)^(1/3))/9 - (2^(1/3)*((2^(2/3)*(243*2^(1/3) + 27 
*(1 - x^3)^(1/3)))/36 - 25/3))/6))/6 - (1 - x^3)^(1/3)/(3*x^3) - log((31*( 
1 - x^3)^(1/3))/243 - 31/243)/9 - log(((3^(1/2)*1i)/18 - 1/18)*(((3^(1/2)* 
1i)/18 - 1/18)^2*(27*(1 - x^3)^(1/3) - 3^(1/2)*81i + 81) - 25/3) + (10*(1 
- x^3)^(1/3))/9)*((3^(1/2)*1i)/18 - 1/18) + log((10*(1 - x^3)^(1/3))/9 - ( 
(3^(1/2)*1i)/18 + 1/18)*(((3^(1/2)*1i)/18 + 1/18)^2*(3^(1/2)*81i + 27*(1 - 
 x^3)^(1/3) + 81) - 25/3))*((3^(1/2)*1i)/18 + 1/18) + (2^(1/3)*log((10*(1 
- x^3)^(1/3))/9 - (2^(1/3)*(3^(1/2)*1i - 1)*((2^(2/3)*(3^(1/2)*1i - 1)^2*( 
(243*2^(1/3)*(3^(1/2)*1i - 1))/2 + 27*(1 - x^3)^(1/3)))/144 - 25/3))/12)*( 
3^(1/2)*1i - 1))/12 - (2^(1/3)*log((10*(1 - x^3)^(1/3))/9 - (2^(1/3)*(3^(1 
/2)*1i + 1)*((2^(2/3)*(3^(1/2)*1i + 1)^2*((243*2^(1/3)*(3^(1/2)*1i + 1))/2 
 - 27*(1 - x^3)^(1/3)))/144 + 25/3))/12)*(3^(1/2)*1i + 1))/12